﻿@using CV.Resources
@model CV.Model.Language

@{
    ViewBag.Title = Resources.Delete;
}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

    <h2 class="page-header">@Resources.Delete</h2>

    @* :STC: Start *@
    <p class="error">@ViewBag.ErrorMessage</p>
    @* :STC: End *@

    <h3>@Resources.ConfirmDelete</h3>
    <div>
        <h4>@Resources.Language</h4>
        <hr />
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.Person.FullName)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Person.FullName)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.LanguageName)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.LanguageName)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Level)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Level)
            </dd>

        </dl>

        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()

            <div class="form-actions no-color">
                <input type="submit" value=@Resources.Delete class="btn btn-default" /> |
                @Html.ActionLink(Resources.Back, "Index")
            </div>
        }
    </div>
</div>